package com.hairline.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * Created by fenglin on 2020/9/3 11:47 AM
 */
@AllArgsConstructor
@NoArgsConstructor
public class AdminUpdateVo {

    /**
     * id : 116
     * username : qqqqqq
     * password : $2a$10$ZBUfM0M7Rhe41rY.xDwRw.dkGMDazDuoTCdtH4Mq2ERd.k6k6HAKa
     * avatar : http://182.92.235.201:8083/wx/storage/fetch/dfzyklmcnd2xtm66mby8.png
     * updateTime : 2020-09-03 11:39:10
     * roleIds : [1,2]
     */

    private int id;
    private String username;
    private String avatar;
    private Integer[] roleIds;
    private String password;
    private Date updateTime;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Integer[  ] roleIds) {
        this.roleIds = roleIds;
    }
}
